package com.s3.khospitalds.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.s3.khospitalds.entity.Cities;
import com.s3.khospitalds.mapper.CitiesMapper;
import com.s3.khospitalds.service.CitiesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: xw
 * @CreateTime: 2025/3/5
 * @Description: 城市
 * @Version: 1.0
 */
@Service
public class CitiesServiceImpl extends ServiceImpl<CitiesMapper, Cities> implements CitiesService {
    @Autowired
    private CitiesMapper citiesMapper;

    @Override
    public List<Cities> getCities(int id) {
        return citiesMapper.getCities(id);
    }
}
